package com.grad.why.studentsystem.service;

import com.grad.why.studentsystem.domain.Project;
import com.grad.why.studentsystem.domain.current.CurrentClassinfo;
import com.grad.why.studentsystem.domain.current.CurrentProject;

import java.util.List;

public interface ProjectService {
    List<Project> getProjects();

    Project getProjectByPrimaryKey(Integer projectid);

    List<CurrentProject> getProjectList(int offset, int limit, String sort, String search);

    long getProjectListLength(String search);

    Integer getMaxId();

    int ProjectNameIsExist(String name);

    int addProjectByEntity(Project project);

    int addProjectInfosByExcelFile(String uploadCurrentFileName);

    int deleteProjectinfo(int id);
}
